#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <linux/videodev2.h>
#include <string.h>
#include <sys/mman.h>
#include <assert.h>
//#include <opencv2/opencv.hpp>
//#include <opencv2/core.hpp>
//#include <opencv2/imgcodecs.hpp>
//#include <opencv2/highgui.hpp>

#define CLEAR(x) memset(&(x), 0, sizeof(x))
#define  IMAGE_W 1296
#define  IMAGE_H 972
#define FMT_NUM_PLANES 1
#define NBUF 20

struct a{
	void *start[FMT_NUM_PLANES];
	size_t length[FMT_NUM_PLANES];
} *buffers;


int main(void) {
	buffers = (a*)malloc(10*1024);
	return 0;
}
